﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="EditAccessory.aspx.cs" Inherits="WXYW.EditAccessory" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitlePlaceHolder" runat="server">
    修改元器件
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ButtonPlaceHolder" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="RightContentPlaceHolder" runat="server">
    <table width="100%" style="line-height: 30px" cellpadding="0px" cellspacing="0px"
        border="0px">
        <tr>
        <td style="color: Red" colspan="6">
                * 注意：修改物料号、原料型号、原料分类可能影响以前的统计信息
            </td>
        </tr>
        <tr>
            <td style="width: 20%">
            </td>
            <td style="width: 10%">
                物料号:
            </td>
            <td style="width: 20%">
                <asp:TextBox ID="MaterialNOTxtBox" runat="server" Width="90%"></asp:TextBox>
            </td>
            <td style="width: 5%">
            </td>
            <td style="width: 20%">
            </td>
            <td style="width: 25%">
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
                原料型号:
            </td>
            <td>
                <asp:TextBox ID="ModelNOTxtBox" runat="server" Width="90%"></asp:TextBox>
            </td>
            <td style="color: Red">
                *
            </td>
            <td>
                <asp:RequiredFieldValidator ID="ModelNumberRequiredFieldValidator" runat="server"
                    ErrorMessage="" Text="请输入原料型号" ControlToValidate="ModelNOTxtBox" ValidationGroup="AccessoryValidation"></asp:RequiredFieldValidator>
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
                原料分类:
            </td>
            <td>
                <asp:DropDownList ID="ClassDropdownList" runat="server" Width="90%">
                </asp:DropDownList>
            </td>
            <td>
            </td>
            <td>
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
                原料描述:
            </td>
            <td>
                <asp:TextBox ID="DescriptionTxtBox" runat="server" Width="90%"></asp:TextBox>
            </td>
            <td>
            </td>
            <td>
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
                收费价格:
            </td>
            <td>
                <asp:TextBox ID="PriceTxtBox" runat="server" Width="90%"></asp:TextBox>
            </td>
            <td style="color: Red">
                *
            </td>
            <td>
                <asp:RequiredFieldValidator ID="PriceRequiredFieldValidator" runat="server" ErrorMessage="" Display="Dynamic"
                    Text="请输入合法的价格" ControlToValidate="PriceTxtBox" ValidationGroup="AccessoryValidation"></asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="PriceValidator" runat="server" ErrorMessage=""
                    Text="请输入合法的价格" ValidationExpression="^\-?[0-9]*\.?[0-9]*$" ControlToValidate="PriceTxtBox"
                    ValidationGroup="AccessoryValidation"></asp:RegularExpressionValidator>
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
                增加数量:
            </td>
            <td>
                <asp:TextBox ID="CountTxtBox" runat="server" Width="90%" Enabled="false"></asp:TextBox>
            </td>
            <td style="color: Red">
                *
            </td>
            <td>
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
                入库地:
            </td>
            <td>
                <asp:DropDownList ID="StationDropdownList" runat="server" Width="90%">
                </asp:DropDownList>
            </td>
            <td>
            </td>
            <td>
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td></td>
            <td colspan="3" align="center">
                <asp:Button ID="BackBtn" runat="server" Text="返回" OnClick="BackBtn_Click" />
                <asp:Button ID="SaveBtn" runat="server" Text="保存" OnClick="SaveBtn_Click"
                    ValidationGroup="AccessoryValidation" />
            </td>
            <td></td>
            <td></td>
        </tr>
        <tr>
            <td>
            </td>
            <td colspan="5">
                <asp:Label ID="EditAccessoryMsgLbl" runat="server" ForeColor="Red"></asp:Label>
            </td>
        </tr>
    </table>
</asp:Content>
